<template>
    <!-- 首页 -->

     
    <!-- 路由出口 -->
    <router-view></router-view>

    <!-- 底部组件 -->
    <base-tabber ></base-tabber>
</template>
<script setup lang="ts">
    import BaseTabber from '../components/tabbar/BaseTabbar.vue'

    import { userBaseStore , useUserStore} from '../store/index';

    //菠萝
    let baseStore = userBaseStore();
    //菠萝二号
    let userStore = useUserStore();
    //调用购物车
    userStore.getUserCarData();
    
    //调用方法获取数据
    baseStore.getBannerData();

    baseStore.getCatData();

    baseStore.getHotGoodsData();
    // let tabname =  ref(0);


</script>
<style scoped lang="less">
   
</style>
